Skip to content

uuid: add V6 #539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from
Open

uuid: add V6 #539

wants to merge 1 commit into from

Conversation

pavetheway91
Copy link

The extension added support for V6 and V7 few months ago.

This PR contains implementation for V6. I might add V7 in another one, but I'd like to see some opinions about it's implementation first.

Option A:
Adaptation of Symfony\Component\Uid\UuidV7.

Option B:
Plain and simple timestamp + some random bits, just ignore the optional parts of the spec. Perhaps a better fit for the style of this library.

the extension added this (along with V7) recently
php/pecl-networking-uuid@ea46ef6
@pavetheway91
Copy link
Author

pavetheway91 commented Aug 10, 2025

Was that a different test suite?

Screenshot_20250810_213945

edit: Seems like it ran the test suite against an old version of extension (rather than the polyfill) on that CI thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant